//
//  MerchantSearchTextFieldView.h
//  TXSLiCai
//
//  Created by Owen on 16/8/1.
//  Copyright © 2016年 Arvin. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MerchantSearchTextFieldView;
@protocol MerchantSearchTextFieldViewDelegate <NSObject>

@optional
- (void)merchantSearchTextFieldViewDidCancel:(MerchantSearchTextFieldView *)textField;
- (void)merchantSearchTextFieldViewDidChangeSource:(MerchantSearchTextFieldView *)textField;

@end

@interface MerchantSearchTextFieldView : UIView

@property (nonatomic, strong) UITextField *searchTextField;
@property (nonatomic, strong) UIButton *cancelButton;
@property (nonatomic, strong) UIButton *sourceButton;

@property (nonatomic, weak) id<MerchantSearchTextFieldViewDelegate> delegate;

@end
